Skip to content

Replace unwrap with expect (symlink.rs) - #152

Open
selvmaya wants to merge 1 commit into
RaphGL:masterfrom
selvmaya:fix/replace-unwrap-with-expect
Open

Replace unwrap with expect (symlink.rs)#152
selvmaya wants to merge 1 commit into
RaphGL:masterfrom
selvmaya:fix/replace-unwrap-with-expect

Conversation

@selvmaya

Copy link
Copy Markdown

While running the latest release of tuckr, there are a few panics related to symlinks that happen in pretty simple scenarios like trying to work with non-home files (e.g. "/etc" ~^etc).

I've run into these quite a few times now, and even if a few of the issues seem to be caught earlier in command execution, I still wanted to make sure we at least give a proper message if it happens. Ideally they perhaps would not be panics here at all, but that would require me to understand a lot more of the code (which would involve doing some documentation work for me to figure it out), and this is better than no comment/msg at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant